package cn.com.bluemoon.daps.sync.core.sync.sql;

import cn.com.bluemoon.daps.model.entity.DapDataModelSubordinateKey;

/**
 * @author Jarod.Kong
 * @date 2021/3/16 15:57
 */
public class MyIndexTypeIntegerStringConverter extends MyCodeAndNameIntegerStringConverter {


    /**
     * 索引类型, 1:表示为空, 2:normal, 3:unique, 4:fulltext, 5:spatial"
     */
    public MyIndexTypeIntegerStringConverter() {
        put(1, "");
        put(2, "normal");
        put(3, "unique");
        put(4, "fulltext");
        put(5, "spatial");
    }

    @Override
    protected Integer intDefaultValue() {
        return DapDataModelSubordinateKey.KEY_TYPE_DEFAULT_KEY;
    }

}
